package com.order.view;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component("itemView")
@Scope("request")
public class ItemView {
    private int itemId;
    private double itemPrice;
    private int itemQty;

    public int getItemId() {
        return itemId;
    }
    public void setItemId(int itemId) {
        this.itemId = itemId;
    }
    public double getItemPrice() {
        return itemPrice;
    }
    public void setItemPrice(double itemPrice) {
        this.itemPrice = itemPrice;
    }
    public int getItemQty() {
        return itemQty;
    }
    public void setItemQty(int itemQty) {
        this.itemQty = itemQty;
    }
}
